﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ClientContract.aspx.cs" Inherits="Client_Revenue.ClientContract" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3>All Client's contract</h3>
   <%-- <asp:EntityDataSource ID="AllClientContractsEntityDataSource" 
    runat="server" ConnectionString="name=dominiumEntities" 
    DefaultContainerName="dominiumEntities" EnableFlattening="False" 
    EntitySetName="Contract"  Select="it.[ContractId]"  Include="Contracts,Client">
    </asp:EntityDataSource>
--%>



    <asp:GridView ID="gvAllClientContracts" runat="server" CssClass="datagrid"
        AutoGenerateColumns="False"  AllowPaging="true">
        <Columns>
            
            <asp:BoundField DataField="ClientName" HeaderText="Client" ReadOnly="True" />
            <asp:BoundField DataField="HeadCount" HeaderText="HeadCount" ReadOnly="True" 
                />
            <asp:BoundField DataField="EstimatedRevenue" HeaderText="Estimated Revenue" 
                DataFormatString="{0:c2}" />
            
            <asp:BoundField DataField="StartDate" HeaderText="StartDate" ReadOnly="True" 
                SortExpression="StartDate" dataformatstring="{0:MM/dd/yy}" htmlencode="false" />
                <asp:BoundField DataField="ContractNotes" HeaderText="ContractNotes" 
                ReadOnly="True" SortExpression="ContractNotes" />
        </Columns>
    </asp:GridView>

</asp:Content>
